import {
  defineStore
} from 'pinia'
export const useScanStore = defineStore('scan', {
  state: () => ({
    status: null
  }),
  actions: {
    setStatus(val) {
      console.log(val,'22222222222')
      this.status = val;
    },
    reset() {
      this.status = null;
    }
  }
});
